package cc.sheji.reposity;


import cc.sheji.domain.Admin;
import cc.sheji.domain.User;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface AdminRepository extends CrudRepository<Admin, Long> , JpaSpecificationExecutor<Admin> {


    public Admin findUserByName(String name);

}
